
from wtforms import StringField, SubmitField,TextAreaField,IntegerField,SelectField
from flask_wtf import FlaskForm
from wtforms.validators import DataRequired ,Length

class NameForm(FlaskForm):
	name=StringField('what is your name?',validators=[DataRequired()],id='s1')
	submit=SubmitField('Submit')
	
class EditProfileForm(FlaskForm):
	name = StringField('真实姓名', validators=[Length(0, 64)])
	location = StringField('地址', validators=[Length(0, 64)])
	about_me = TextAreaField('个人信息')
	submit = SubmitField('提交')
	